# Create your models here.
from django.db import models


class RunTimeModel(models.Model):
    batch_num = models.CharField(
        verbose_name = '批次号', max_length = 32, primary_key = True,
        help_text = '批次号')
    run_time = models.DateTimeField(
        verbose_name = "开始分析时间", auto_now = True, help_text = "开始分析时间")

    class Meta:
        verbose_name = verbose_name_plural = "分析时间表(仅记录)"

    def __str__(self):
        return self.batch_num
